<include file="Public/header"/>
    <div class="ibox-content">
        <div class="deal-bd order-bottom">用户管理</div>
        <form class="layui-form" action=""  method="get" autocomplete="off">
            <input type="hidden" name="m" value="<{$model}>">
            <input type="hidden" name="c" value="User">
            <input type="hidden" name="a" value="index">
            <div class="layui-inline">
                <div class="layui-input-inline">
                    <input style="width:200px;" type="text" class="layui-input" name="username" id="username" placeholder="商户号/用户名/姓名" lay-key="1" value="<{$_GET['username']}>">
                </div>
            </div>

            <div class="layui-inline">
                <div class="layui-input-inline">
                    <input style="width:200px;" type="text" class="layui-input" name="regdatetime" id="createtime" placeholder="起始时间" value="" lay-key="1">
                </div>
            </div>
            <div class="layui-inline">
                <div class="layui-input-inline" style="width:200px;">
                    <select name="status">
                        <option value="">状态</option>
                        <option value="1">已激活</option>
                        <option value="0">未激活</option>
                        <option value="2">禁用</option>
                    </select>
                </div>
                <div class="layui-input-inline" style="width:200px;">
                    <select name="authorized">
                        <option value="">认证</option>
                        <option value="0">未认证</option>
                        <option value="2">等待审核</option>
                        <option value="1">认证用户</option>
                    </select>
                </div>
                <div class="layui-input-inline" style="width:200px;">
                    <select name="groupid">
                        <option value="">用户类型</option>
                        <foreach name="groupId" item="v" key="k">
                            <option value="<{$k}>"><{$v}></option>
                        </foreach>
                    </select>
                </div>
            </div>
            <div class="layui-inline">
                <button type="submit" class="layui-btn layui-bg-blue"><i class="fa fa-search"></i> 搜索</button>
                <button class="layui-btn layui-bg-blue add-btn" onclick="adduserFn();return false;"><i class="fa fa-user"></i> 添加用户</button>
                <button type="submit" class="layui-btn layui-bg-green"><i class="fa fa-clipboard"></i> 导出数据</button>
                <button type="submit" class="layui-btn layui-bg-green"><i class="fa fa-clipboard"></i> 一键解冻</button>
            </div>
            <input type="hidden" name="__hash__" value="0bb099ff09b3f72a01fdd2805d748dfa_866b4b53d25ed08528f901acbfaf7515">
        </form>

    </div>
    <!---->
    <!---->
    <!---->
    <!--条件筛选过滤-->
    <div class="tablediv">
        <table class="table table-hover choosetable">
            <thead>
            <tr>
                <th></th>
                <th>商户号</th>
                <th>用户名</th>
                <th>姓名</th>
                <th>用户类型</th>
                <th>上级用户</th>
                <th>注册时间</th>
                <th>状态</th>
                <th>认证</th>
                <th>账户总额</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <volist name="list" id="vo">
            <tr>
                <td><{$vo.id}></td>
                <td><a href="<{:U('User/changeuser',array('userid'=>$vo['id']))}>" target="_blank"><{$vo['id']|shanghubianhao=###}></a></td>
                <td><{$vo.username}></td>
                <td><{$vo.realname}></td>
                <td><{$vo.groupname}></td>
                <td><{$vo['parentid']|getParentName=###}></td>
                <td><{$vo.regdatetime|date="Y-m-d",###}></td>
                <td>
                    <input type="checkbox"
                           data-uid="<{$vo.id}>"
                    <if condition="$vo['status']">checked</if>
                    name="open"
                    lay-skin="switch"
                    lay-filter="switchStatus"
                    lay-text="正常|禁用">
                </td>
                <td>
                    <button class="layui-btn layui-btn-normal layui-btn-sm approve-btn" onclick="member_auth('用户认证','<{:U('User/authorize',['uid'=>$vo[id]])
                                    }>','600',300)">
                            <switch name="vo[authorized]" >
                                <case value="0">未认证</case>
                                <case value="1">已认证</case>
                                <case value="2">等待审核</case>
                                <default />
                            </switch>
                    </button>
                </td>
                <td>
                    <button class="layui-btn layui-btn-normal layui-btn-sm incarnate-btn">可体现已冻结</button>
                </td>
                <td>
                    <button  class="btn btn-primary check-btn" onclick="member_edit('编辑','<{:U('User/editUser',['uid'=>$vo[id]])}>',900,800)">查看</button>
                    <button  class="btn btn-primary">删除</button>
                </td>
            </tr>
            </volist>
            </tbody>
        </table>
        <!--用户列表-->
        <div class="page"><{$page}></div>
    </div>
    <!--模态框（Modal）添加用户-->
    <div id="adduser-shadow" class="shadow-wd">
        <form class="layui-form" action="">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">用户名：</label>
                    <div class="layui-input-inline">
                        <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">姓名：</label>
                    <div class="layui-input-inline">
                        <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">登录密码：</label>
                    <div class="layui-input-inline">
                        <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">支付密码：</label>
                    <div class="layui-input-inline">
                        <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">性别：</label>
                    <div class="layui-input-inline">
                        <select name="interest" lay-filter="aihao">
                            <option value="0">男</option>
                            <option value="1" selected="">女</option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">身份证号：</label>
                    <div class="layui-input-inline">
                        <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">出生日期：</label>
                    <div class="layui-input-inline">
                        <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">手机号码：</label>
                    <div class="layui-input-inline">
                        <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">联系QQ：</label>
                    <div class="layui-input-inline">
                        <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">Email：</label>
                    <div class="layui-input-inline">
                        <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">用户级别：</label>
                    <div class="layui-input-inline">
                        <select name="interest" lay-filter="aihao">
                            <option value="0">普通商户</option>
                            <option value="1" selected="">代理</option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">联系地址：</label>
                    <div class="layui-input-inline">
                        <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label"></label>
                    <button  class="btn btn-primary">提交保存</button>
                </div>
            </div>
        </form>
    </div>
    <!-- 模态框（Modal）认证 -->
    <!--<div id="approve-shadow" class="shadow-wd">-->
        <!--<form class="layui-form" action="">-->
            <!--<div class="layui-form-item">-->
                <!--<div class="layui-inline">-->
                    <!--<label class="layui-form-label">验证手机：</label>-->
                    <!--<div class="layui-input-inline">-->
                        <!--<input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">-->
                    <!--</div>-->
                    <!--<button  class="btn btn-primary">换密钥</button>-->
                <!--</div>-->
            <!--</div>-->
            <!--<div class="layui-form-item">-->
                <!--<div class="layui-inline">-->
                    <!--<label class="layui-form-label">商户认证：</label>-->
                    <!--<div class="layui-input-inline">-->
                        <!--<select name="interest" lay-filter="aihao">-->
                            <!--<option value=""></option>-->
                            <!--<option value="0">写作</option>-->
                            <!--<option value="1" selected="">阅读</option>-->
                            <!--<option value="2">游戏</option>-->
                        <!--</select>-->
                    <!--</div>-->
                <!--</div>-->
            <!--</div>-->
            <!--<div class="layui-form-item">-->
                <!--<div class="layui-inline">-->
                    <!--<label class="layui-form-label">认证图片：</label>-->
                <!--</div>-->
            <!--</div>-->
            <!--<div class="layui-form-item">-->
                <!--<div class="layui-inline">-->
                    <!--<label class="layui-form-label"></label>-->
                    <!--<button  class="btn btn-primary">提交保存</button>-->
                <!--</div>-->
            <!--</div>-->
        <!--</form>-->
    <!--</div>-->

    <!--模态框（Modal）提现-->
    <div id="incarnate-shadow" class="shadow-wd">
        <div class="layui-tab">
            <ul class="layui-tab-title">
                <li class="layui-this">今日明细</li>
                <li>加/减余额</li>
                <li>T1资金解冻</li>
                <li>D1资金解冻</li>
                <li>解冻金额</li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <form class="layui-form" action="">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">账户余额：</label>
                                <div class="layui-input-inline">
                                    <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">可提余额：</label>
                                <div class="layui-input-inline">
                                    <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">T+1：</label>
                                <div class="layui-input-inline">
                                    <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">D+1：</label>
                                <div class="layui-input-inline">
                                    <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label"></label>
                                <button  class="btn btn-primary">提交保存</button>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="layui-tab-item">
                    <form class="layui-form" action="">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">可用余额：</label>
                                <div class="layui-input-inline">
                                    <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">冻结余额：</label>
                                <div class="layui-input-inline">
                                    <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">操作：</label>
                                <div class="layui-input-inline">
                                    <input type="radio" name="sex" value="增加" title="增加金额" checked="">
                                    <input type="radio" name="sex" value="减少" title="减少金额">
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">变动金额：</label>
                                <div class="layui-input-inline">
                                    <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">备注：</label>
                                <div class="layui-input-inline">
                                    <textarea placeholder="请输入内容" class="layui-textarea"></textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label"></label>
                                <button  class="btn btn-primary">提交保存</button>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="layui-tab-item">
                    <form class="layui-form" action="" method="get" autocomplete="off" >
                        <div class="layui-inline">
                            <div class="layui-input-inline">
                                <input style="width:200px;" type="text" class="layui-input" name="pay_successdate" id="ordernum" placeholder="请输入商货号/用户名" value="" lay-key="1">
                            </div>
                        </div>
                        <div class="layui-inline">
                            <div class="layui-input-inline">
                                <input style="width:200px;" type="text" class="layui-input" name="pay_successdate" id="starttime" placeholder="请输入起始时间" value="" lay-key="1">
                            </div>
                        </div>
                        <div class="layui-inline">
                            <div class="layui-input-inline">
                                <button type="submit" class="layui-btn layui-bg-blue"><i class="fa fa-search"></i> 搜索</button>
                            </div>
                        </div>
                        <div class="layui-block" style="margin-top:10px;">
                            <button type="submit" class="layui-btn layui-bg-blue">批量解冻</button>
                        </div>
                        <table class="table table-hover choosetable">
                            <thead>
                            <tr>
                                <th></th>
                                <th>商户号</th>
                                <th>用户名</th>
                                <th>姓名</th>
                                <th>用户类型</th>

                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td>12</td>
                                <td>10048</td>
                                <td>13284026357</td>
                                <td>Rb</td>
                                <td>普通商户</td>
                            </tr>
                            <tr>
                                <td>12</td>
                                <td>10048</td>
                                <td>13284026357</td>
                                <td>Rb</td>
                                <td>普通商户</td>
                            </tr>
                            </tbody>
                        </table>
                    </form>
                </div>
                <div class="layui-tab-item">
                    <form class="layui-form" action="" method="get" autocomplete="off" >
                        <div class="layui-inline">
                            <div class="layui-input-inline">
                                <input style="width:200px;" type="text" class="layui-input" name="pay_successdate" id="ordernum" placeholder="请输入商货号/用户名" value="" lay-key="1">
                            </div>
                        </div>
                        <div class="layui-inline">
                            <div class="layui-input-inline">
                                <input style="width:200px;" type="text" class="layui-input" name="pay_successdate" id="starttime" placeholder="请输入起始时间" value="" lay-key="1">
                            </div>
                        </div>
                        <div class="layui-inline">
                            <div class="layui-input-inline">
                                <button type="submit" class="layui-btn layui-bg-blue"><i class="fa fa-search"></i> 搜索</button>
                            </div>
                        </div>
                        <div class="layui-block" style="margin-top:10px;">
                            <button type="submit" class="layui-btn layui-bg-blue">批量解冻</button>
                        </div>
                        <table class="table table-hover choosetable">
                            <thead>
                            <tr>
                                <th></th>
                                <th>商户号</th>
                                <th>用户名</th>
                                <th>姓名</th>
                                <th>用户类型</th>

                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td>12</td>
                                <td>10048</td>
                                <td>13284026357</td>
                                <td>Rb</td>
                                <td>普通商户</td>
                            </tr>
                            <tr>
                                <td>12</td>
                                <td>10048</td>
                                <td>13284026357</td>
                                <td>Rb</td>
                                <td>普通商户</td>
                            </tr>
                            </tbody>
                        </table>
                    </form>
                </div>
                <div class="layui-tab-item">
                    <form class="layui-form" action="">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">可用余额：</label>
                                <div class="layui-input-inline">
                                    <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">冻结余额：</label>
                                <div class="layui-input-inline">
                                    <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">操作：</label>
                                <div class="layui-input-inline">
                                    <input type="radio" name="sex" value="增加" title="增加金额" checked="">
                                    <input type="radio" name="sex" value="减少" title="减少金额">
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">变动金额：</label>
                                <div class="layui-input-inline">
                                    <input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">备注：</label>
                                <div class="layui-input-inline">
                                    <textarea placeholder="请输入内容" class="layui-textarea"></textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label"></label>
                                <button  class="btn btn-primary">提交保存</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <!--模态框（Modal）查看-->
    <!--<div id="check-shadow" class="shadow-wd">-->
        <!--<div class="layui-tab">-->
            <!--<ul class="layui-tab-title">-->
                <!--<li class="layui-this" onclick="location.href='http://www.guoseyinxiang.cn/index.php?s=/admin/config/seoConfig';">商户信息</li>-->
                <!--<li>提现</li>-->
                <!--<li>通道</li>-->
                <!--<li>费率</li>-->
            <!--</ul>-->
            <!--<div class="layui-tab-content">-->
                <!--<div class="layui-tab-item layui-show">-->
                    <!--<form class="layui-form" action="">-->
                        <!--<div class="layui-form-item">-->
                            <!--<div class="layui-inline">-->
                                <!--<label class="layui-form-label">用户名：</label>-->
                                <!--<div class="layui-input-inline">-->
                                    <!--<input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">-->
                                <!--</div>-->
                            <!--</div>-->
                            <!--<div class="layui-inline">-->
                                <!--<label class="layui-form-label">姓名：</label>-->
                                <!--<div class="layui-input-inline">-->
                                    <!--<input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">-->
                                <!--</div>-->
                            <!--</div>-->
                        <!--</div>-->
                        <!--<div class="layui-form-item">-->
                            <!--<div class="layui-inline">-->
                                <!--<label class="layui-form-label">登录密码：</label>-->
                                <!--<div class="layui-input-inline">-->
                                    <!--<input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">-->
                                <!--</div>-->
                            <!--</div>-->
                            <!--<div class="layui-inline">-->
                                <!--<label class="layui-form-label">支付密码：</label>-->
                                <!--<div class="layui-input-inline">-->
                                    <!--<input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">-->
                                <!--</div>-->
                            <!--</div>-->
                        <!--</div>-->
                        <!--<div class="layui-form-item">-->
                            <!--<div class="layui-inline">-->
                                <!--<label class="layui-form-label">性别：</label>-->
                                <!--<div class="layui-input-inline">-->
                                    <!--<select name="interest" lay-filter="aihao">-->
                                        <!--<option value="0">男</option>-->
                                        <!--<option value="1" selected="">女</option>-->
                                    <!--</select>-->
                                <!--</div>-->
                            <!--</div>-->
                            <!--<div class="layui-inline">-->
                                <!--<label class="layui-form-label">身份证号：</label>-->
                                <!--<div class="layui-input-inline">-->
                                    <!--<input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">-->
                                <!--</div>-->
                            <!--</div>-->
                        <!--</div>-->

                        <!--<div class="layui-form-item">-->
                            <!--<div class="layui-inline">-->
                                <!--<label class="layui-form-label">出生日期：</label>-->
                                <!--<div class="layui-input-inline">-->
                                    <!--<input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">-->
                                <!--</div>-->
                            <!--</div>-->
                            <!--<div class="layui-inline">-->
                                <!--<label class="layui-form-label">手机号码：</label>-->
                                <!--<div class="layui-input-inline">-->
                                    <!--<input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">-->
                                <!--</div>-->
                            <!--</div>-->
                        <!--</div>-->
                        <!--<div class="layui-form-item">-->
                            <!--<div class="layui-inline">-->
                                <!--<label class="layui-form-label">联系QQ：</label>-->
                                <!--<div class="layui-input-inline">-->
                                    <!--<input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">-->
                                <!--</div>-->
                            <!--</div>-->
                            <!--<div class="layui-inline">-->
                                <!--<label class="layui-form-label">Email：</label>-->
                                <!--<div class="layui-input-inline">-->
                                    <!--<input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">-->
                                <!--</div>-->
                            <!--</div>-->
                        <!--</div>-->
                        <!--<div class="layui-form-item">-->
                            <!--<div class="layui-inline">-->
                                <!--<label class="layui-form-label">用户级别：</label>-->
                                <!--<div class="layui-input-inline">-->
                                    <!--<select name="interest" lay-filter="aihao">-->
                                        <!--<option value="0">普通商户</option>-->
                                        <!--<option value="1" selected="">代理</option>-->
                                    <!--</select>-->
                                <!--</div>-->
                            <!--</div>-->
                            <!--<div class="layui-inline">-->
                                <!--<label class="layui-form-label">联系地址：</label>-->
                                <!--<div class="layui-input-inline">-->
                                    <!--<input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">-->
                                <!--</div>-->
                            <!--</div>-->
                        <!--</div>-->
                        <!--<div class="layui-form-item">-->
                            <!--<div class="layui-inline">-->
                                <!--<label class="layui-form-label"></label>-->
                                <!--<button  class="btn btn-primary">提交保存</button>-->
                            <!--</div>-->
                        <!--</div>-->
                    <!--</form>-->
                <!--</div>-->
                <!--<div class="layui-tab-item">-->
                    <!--<form class="layui-form" action="">-->
                        <!--<div class="layui-form-item">-->
                            <!--<div class="layui-inline">-->
                                <!--<label class="layui-form-label">应用规则：</label>-->
                                <!--<div class="layui-input-inline" >-->
                                    <!--<input type="radio" name="rule" value="111" title="系统规则" lay-filter="erweima" checked>-->
                                    <!--<input type="radio" name="rule" value="222" title="个人规则" lay-filter="erweima">-->
                                    <!--<div class="sign-rule">-->
                                        <!--<form class="layui-form" action="" style="width:200px;">-->
                                            <!--<div class="layui-form-item">-->
                                                <!--<div class="layui-inline">-->
                                                    <!--<label class="layui-form-label">单笔最小金额：</label>-->
                                                    <!--<div class="layui-input-inline">-->
                                                        <!--<input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">-->
                                                    <!--</div>-->
                                                <!--</div>-->
                                                <!--<div class="layui-inline">-->
                                                    <!--<label class="layui-form-label">单笔最大金额：</label>-->
                                                    <!--<div class="layui-input-inline">-->
                                                        <!--<input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">-->
                                                    <!--</div>-->
                                                <!--</div>-->
                                            <!--</div>-->
                                            <!--<div class="layui-form-item">-->
                                                <!--<div class="layui-inline">-->
                                                    <!--<label class="layui-form-label">当日总金额：</label>-->
                                                    <!--<div class="layui-input-inline">-->
                                                        <!--<input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">-->
                                                    <!--</div>-->
                                                <!--</div>-->
                                                <!--<div class="layui-inline">-->
                                                    <!--<label class="layui-form-label">当日总次数：</label>-->
                                                    <!--<div class="layui-input-inline">-->
                                                        <!--<input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">-->
                                                    <!--</div>-->
                                                <!--</div>-->
                                            <!--</div>-->
                                            <!--<div class="layui-form-item">-->
                                                <!--<div class="layui-inline">-->
                                                    <!--<label class="layui-form-label">购买T+0金额：</label>-->
                                                    <!--<div class="layui-input-inline">-->
                                                        <!--<input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">-->
                                                    <!--</div>-->
                                                <!--</div>-->
                                                <!--<div class="layui-inline">-->
                                                    <!--<label class="layui-form-label">手续费类型：</label>-->
                                                    <!--<div class="layui-input-inline">-->
                                                        <!--<select name="interest" lay-filter="aihao">-->
                                                            <!--<option value="0" selected="">用户类型</option>-->
                                                            <!--<option value="1" >阅读</option>-->
                                                            <!--<option value="2">游戏</option>-->
                                                            <!--<option value="3">音乐</option>-->
                                                            <!--<option value="4">旅行</option>-->
                                                        <!--</select>-->
                                                    <!--</div>-->
                                                <!--</div>-->
                                            <!--</div>-->
                                            <!--<div class="layui-form-item">-->
                                                <!--<div class="layui-inline">-->
                                                    <!--<label class="layui-form-label">单笔提款比例：</label>-->
                                                    <!--<div class="layui-input-inline">-->
                                                        <!--<input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">-->
                                                    <!--</div>-->
                                                <!--</div>-->
                                                <!--<div class="layui-inline">-->
                                                    <!--<label class="layui-form-label">单笔提款收取：</label>-->
                                                    <!--<div class="layui-input-inline">-->
                                                        <!--<input type="tel" name="phone" lay-verify="required|phone" autocomplete="off" class="layui-input">-->
                                                    <!--</div>-->
                                                <!--</div>-->
                                            <!--</div>-->
                                            <!--<div class="layui-form-item">-->
                                                <!--<div class="layui-inline">-->
                                                    <!--<label class="layui-form-label">结算方式：</label>-->
                                                    <!--<div class="layui-input-inline">-->
                                                        <!--<input type="radio" name="sex" value="增加" title="T+0" checked="">-->
                                                        <!--<input type="radio" name="sex" value="减少" title="T+1">-->
                                                    <!--</div>-->
                                                <!--</div>-->
                                                <!--<div class="layui-inline">-->
                                                    <!--<label class="layui-form-label">提款状态：</label>-->
                                                    <!--<div class="layui-input-inline">-->
                                                        <!--<input type="radio" name="num" value="增加111" title="开通" checked="">-->
                                                        <!--<input type="radio" name="num" value="减少111" title="关闭">-->
                                                    <!--</div>-->
                                                <!--</div>-->
                                            <!--</div>-->
                                        <!--</form>-->
                                    <!--</div>-->

                                <!--</div>-->

                            <!--</div>-->
                        <!--</div>-->
                        <!--<div class="layui-form-item">-->
                            <!--<div class="layui-inline">-->
                                <!--<label class="layui-form-label"></label>-->
                                <!--<button  class="btn btn-primary">提交保存</button>-->
                            <!--</div>-->
                        <!--</div>-->
                    <!--</form>-->
                <!--</div>-->
                <!--<div class="layui-tab-item">-->
                    <!--<table class="table table-hover choosetable" >-->
                        <!--<thead>-->
                        <!--<tr>-->
                            <!--<th>接口名称</th>-->
                            <!--<th>接口状态</th>-->
                            <!--<th>操作</th>-->
                            <!--<th>专线</th>-->
                        <!--</tr>-->
                        <!--</thead>-->
                        <!--<tbody>-->
                        <!--<tr>-->
                            <!--<td>支付宝H5</td>-->
                            <!--<td>-->
                                <!--<form class="layui-form" action="">-->
                                    <!--<div class="layui-form-item">-->
                                        <!--<div class="layui-inline">-->
                                            <!--<input type="checkbox" name="close" lay-skin="switch" lay-text="开启|关闭">-->
                                        <!--</div>-->
                                    <!--</div>-->
                                <!--</form>-->
                            <!--</td>-->
                            <!--<td>-->
                                <!--<form class="layui-form" action="">-->
                                    <!--<div class="layui-form-item">-->
                                        <!--<div class="layui-inline">-->
                                            <!--<div class="layui-input-inline">-->
                                                <!--<input type="radio" name="sex" value="sing" title="单独"  lay-filter="circulation" checked="">-->
                                                <!--<input type="radio" name="sex" value="circle" title="轮循"  lay-filter="circulation">-->
                                            <!--</div>-->
                                        <!--</div>-->
                                    <!--</div>-->
                                <!--</form>-->
                            <!--</td>-->
                            <!--<td>-->
                                <!--<form  class="layui-form alone-layui-form" action="">-->
                                    <!--<div class="layui-form-item">-->
                                        <!--<div class="layui-inline">-->
                                            <!--<div class="layui-input-inline">-->
                                                <!--<select name="interest" lay-filter="aihao">-->
                                                    <!--<option value="0" selected="">用户类型</option>-->
                                                    <!--<option value="1" >阅读</option>-->
                                                    <!--<option value="2">游戏</option>-->
                                                    <!--<option value="3">音乐</option>-->
                                                    <!--<option value="4">旅行</option>-->
                                                <!--</select>-->
                                            <!--</div>-->
                                        <!--</div>-->
                                    <!--</div>-->
                                <!--</form>-->
                                <!--<table style="display:none;" class="table table-hover choosetable cirtable">-->
                                    <!--<thead>-->
                                    <!--<tr>-->
                                        <!--<th></th>-->
                                        <!--<th>通道代码</th>-->
                                        <!--<th>通道名称</th>-->
                                        <!--<th>权重</th>-->
                                    <!--</tr>-->
                                    <!--</thead>-->
                                    <!--<tbody>-->
                                    <!--<tr>-->
                                        <!--<td>-->
                                            <!--<form class="layui-form" action="">-->
                                                <!--<div class="layui-form-item">-->
                                                    <!--<div class="layui-input-inline">-->
                                                        <!--<input type="checkbox" name="like1[write]" lay-skin="primary">-->
                                                    <!--</div>-->
                                                <!--</div>-->
                                            <!--</form>-->
                                        <!--</td>-->
                                        <!--<td>282</td>-->
                                        <!--<td>10040支付宝H5专线</td>-->
                                        <!--<td>-->
                                            <!--<form class="layui-form alone-form" action="">-->
                                                <!--<div class="layui-form-item">-->
                                                    <!--<div class="layui-inline">-->
                                                        <!--<div class="layui-input-inline">-->
                                                            <!--<input style="width:100px;margin:0 auto;" type="text" class="layui-input" name="pay_successdate" id="merchatcode" placeholder="" value="" lay-key="1">-->
                                                        <!--</div>-->
                                                    <!--</div>-->
                                                <!--</div>-->
                                            <!--</form>-->
                                        <!--</td>-->
                                    <!--</tr>-->
                                    <!--</tbody>-->
                                <!--</table>-->
                            <!--</td>-->
                        <!--</tr>-->
                        <!--</tbody>-->
                    <!--</table>-->
                <!--</div>-->
                <!--<div class="layui-tab-item">-->
                    <!--<table class="table table-hover choosetable">-->
                        <!--<thead>-->
                        <!--<tr>-->
                            <!--<th>接口名称</th>-->
                            <!--<th>充值费率</th>-->
                            <!--<th>封顶费率</th>-->
                        <!--</tr>-->
                        <!--</thead>-->
                        <!--<tbody>-->
                        <!--<tr>-->
                            <!--<td>支付宝H5</td>-->
                            <!--<td>-->
                                <!--<form class="layui-form" action="">-->
                                    <!--<div class="layui-form-item">-->
                                        <!--<div class="layui-inline">-->
                                            <!--<input style="width:200px;" type="text" class="layui-input" name="pay_successdate" id="merchatcode" placeholder="" value="" lay-key="1">-->
                                        <!--</div>-->
                                    <!--</div>-->
                                <!--</form>-->
                            <!--</td>-->
                            <!--<td>-->
                                <!--<form class="layui-form" action="">-->
                                    <!--<div class="layui-form-item">-->
                                        <!--<div class="layui-inline">-->
                                            <!--<input style="width:200px;" type="text" class="layui-input" name="pay_successdate" id="merchatcode" placeholder="" value="" lay-key="1">-->
                                        <!--</div>-->
                                    <!--</div>-->
                                <!--</form>-->
                            <!--</td>-->

                        <!--</tr>-->
                        <!--<tr>-->
                            <!--<td>支付宝H5</td>-->
                            <!--<td>-->
                                <!--<form class="layui-form" action="">-->
                                    <!--<div class="layui-form-item">-->
                                        <!--<div class="layui-inline">-->
                                            <!--<input style="width:200px;" type="text" class="layui-input" name="pay_successdate" id="merchatcode" placeholder="" value="" lay-key="1">-->
                                        <!--</div>-->
                                    <!--</div>-->
                                <!--</form>-->
                            <!--</td>-->
                            <!--<td>-->
                                <!--<form class="layui-form" action="">-->
                                    <!--<div class="layui-form-item">-->
                                        <!--<div class="layui-inline">-->
                                            <!--<input style="width:200px;" type="text" class="layui-input" name="pay_successdate" id="merchatcode" placeholder="" value="" lay-key="1">-->
                                        <!--</div>-->
                                    <!--</div>-->
                                <!--</form>-->
                            <!--</td>-->

                        <!--</tr>-->
                        <!--</tbody>-->
                    <!--</table>-->
                <!--</div>-->
            <!--</div>-->
        <!--</div>-->
    <!--</div>-->

<include file="Public/footer"/>
</div>
<script>
    layui.use('element', function(){
        var $ = layui.jquery
            ,element = layui.element; //Tab的切换功能，切换事件监听等，需要依赖element模块

    });
    layui.use(['form', 'layedit', 'laydate','layer'], function(){
        var form = layui.form
            ,layer = layui.layer
            ,layedit = layui.layedit
            ,laydate = layui.laydate;
        //日期时间选择器
        laydate.render({
            elem: '#createtime'
            , type: 'datetime'
            ,theme: 'molv'
            , range: '|'
        });
        //  监听radio 单选
        form.on('radio(erweima)', function(data){
            console.log(data.elem); //得到radio原始DOM对象
            console.log(data.value); //被点击的radio的value值
            if(data.value==='222'){
                $(".sign-rule").show()
            }else{
                $(".sign-rule").hide()
            }
        });
        form.on('radio(circulation)', function(data){
            if(data.value==='circle'){
                $(".cirtable").show();
                $(".alone-layui-form").hide();

            }else{
                $(".cirtable").hide()
                $(".alone-layui-form").show()
            }
        });


        form.on('switch(switchStatus)', function (data) {
            var isopen = this.checked ? 1 : 0,
                uid = $(this).attr('data-uid');
            $.ajax({
                url: "<{:U('User/editStatus')}>",
                type: 'post',
                data: "uid=" + uid + "&isopen=" + isopen,
                success: function (res) {
                    if (res.status) {
                        layer.tips('温馨提示：开启成功', data.othis);
                    } else {
                        layer.tips('温馨提示：关闭成功', data.othis);
                    }
                }
            });
        });
        
        
        


        // $('.approve-btn').on('click', function(){
        //     layer.open({
        //         type: 1,
        //         area: ['600px', '360px'],
        //         shadeClose: true, //点击遮罩关闭
        //         content: $("#approve-shadow")
        //     });
        // });

        $('.incarnate-btn').on('click', function(){
            layer.open({
                title:'商户：xsysdf',
                type: 1,
                area: ['850px', '650px'],
                shadeClose: true, //点击遮罩关闭
                content: $("#incarnate-shadow")
            });
        });
        // $('.check-btn').on('click', function(){
        //     layer.open({
        //         type: 1,
        //         area: ['900px', '800px'],
        //         shadeClose: true, //点击遮罩关闭
        //         content: $("#check-shadow")
        //     });
        // });

    });
    function adduserFn() {
            layer.open({
                type: 1,
                area: ['800px', '560px'],
                shadeClose: true, //点击遮罩关闭
                content: $("#adduser-shadow")
            });
    }

    function member_auth(title, url, w, h) {
        x_admin_show(title, url, w, h);
    }
    // 用户-编辑
    function member_edit(title, url, id, w, h) {
        x_admin_show(title, url, w, h);
    }

    


</script>
</body>
</html>
